package design.template;

/**
 * ClassName:AbsTemplate <br/>
 * description:  <br/>
 * Date:     2019/6/19、14:20 <br/>
 *
 * @author Plank
 */
public abstract class AbsTemplate {

    public void process() {
        t1();
        t2();
    }

    private void t1() {
        System.out.println("步骤一");
    }

    protected abstract void t2();

}
